package com.itheima.mapper;

import com.itheima.pojo.Permission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @description:
 * @author: Alang
 * @date: 2020/6/29-17:51
 * @Version: 1.0.0
 */
public interface PermissionMapper {

    void add(Permission permission);

    List<Permission> findPageByCondition(@Param("queryString") String queryString);

    void update(Permission permission);

    Integer findCountByPId(@Param("id") Integer id);

    void deleteById(@Param("id") Integer id);
}
